package com.fpd.model.ro;

import java.math.BigDecimal;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * @desc 入参模型
 * @author wujiangbo
 * @date 2019年11月23日 上午10:41:01
 */
@Data
@ApiModel(description = "客服信息查询数据模型")
public class CustomerServiceRO extends PageRO {

	private static final long serialVersionUID = -5334349624735567126L;

	@ApiModelProperty(value = "客服姓名(支持模糊查询)", example = "张三")
	private String truename;

//	@ApiModelProperty(value = "客服姓名(支持模糊查询)", example = "张三")
//	private String username;

	@ApiModelProperty(value = "客服手机号(支持模糊查询)", example = "1808629xxxx")
	private String mobile;

	@ApiModelProperty(value = "历史总回款开始", example = "10000.00")
	private BigDecimal historyTotalMoneyBackBegin;

	@ApiModelProperty(value = "历史总回款结束", example = "50000.00")
	private BigDecimal historyTotalMoneyBackEnd;

	@ApiModelProperty(value = "历史客户数量开始", example = "100")
	private Integer historyTotalCustomerBegin;

	@ApiModelProperty(value = "历史客户数量结束", example = "300")
	private Integer historyTotalCustomerEnd;

	@ApiModelProperty(value = "组ID", example = "")
	private String groupId;

	@ApiModelProperty(value = "职位（1：管理员；2：数据管理员；3：项目经理；4：组长；5：平台客服）", example = "")
	private Integer position;

	@ApiModelProperty(value = "委托方名称", example = "")
	private String thirdParty;

	@ApiModelProperty(value = "组长ID", hidden = true, example = "")
	private String groupLeaderId;

	@ApiModelProperty(value = "客服Id", example = "")
	private String userId;


	/**20201024
	 * 客服发函统计开始日期
	 */
	@ApiModelProperty(value = "开始日期", example = "")
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private Date beginTimeCaseStart;

	/**
	 * 客服发函统计截止日期（开始时间至那个时间的区间）
	 * beginTimeCase当前时间搜索，
	 * beginTimeCaseEnd结束搜索时间，
	 * currentTimeCase开始搜索时间
	 */
	@ApiModelProperty(value = "截止日期", example = "")
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private Date beginTimeCaseEnd;
	/**
	 * 客服发函统计当天日期
	 */
	@ApiModelProperty(value = "当天日期", example = "")
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private Date currentTimeCase;



}
